<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>进店信息录入</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/js/layui/css/layui.css" media="all">
</head>
<body style="height: 720px;align-content: center">
<div style="width:700px;margin-left:auto;margin-right:auto;margin-top:15px;overflow:auto;height: 800px;" id="aaa">
    <form class="layui-form" action="">
        <input type="hidden" class="input-text" id="staffId" name="staffId">
        <div class="layui-form-item">
            <label class="layui-form-label">员工照片</label>
            <div class="layui-input-block">
                <img class="layui-upload-img" name="picture" id="picture" style="width: 200px;height: 150px">
                <p id="demoText"></p>
            </div>
            <input type="hidden" class="input-text" id="logo" name="logo">
        </div>

        <div class="layui-form-item" style="margin-left:auto;margin-right:auto;">
            <label class="layui-form-label">卡号</label>
            <div class="layui-inline">
                <div class="layui-input-inline" >
                    <input type="text" id="cardNo" name="cardNo" disabled autocomplete="off" class="layui-input layui-disabled" />
                </div>
                <div class="layui-input-inline" style="width: 300px;line-height: 38px;">
                    <span style="color: red;">请将工卡放入卡座，如未识别工卡，请重新放入</span>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-inline">
                <input type="text" id="staffName" name="staffName" disabled autocomplete="off" class="layui-input layui-disabled">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">编号</label>
            <div class="layui-input-inline">
                <input type="text" id="staffBh" name="staffBh" disabled autocomplete="off" class="layui-input layui-disabled">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">健康码</label>
            <div class="layui-input-block">
                <div id="qrCode" style=""></div>
            </div>
        </div>


    </form>
</div>
<script src="./js/jquery.min.js"></script>
<script src="./js/qrCode.js"></script>
<script src="/js/layui/layui.js"></script>
<script src="/js/layui/layui.all.js"></script>
<script src="/admin/js/token.js"></script>
<script src="./js/lock.js"></script>
<script src="./js/smartReader.js"></script>
<script src="./js/card1.js"></script>
<script>
    function selectRedio(type) {
        var form = layui.form
        if (type == 0) {
            $("input[name=business][value=0]").prop("checked" , true)
        }else {
            $("input[name=business][value=1]").prop("checked" , true)
        }
        form.render()

    }
</script>
</body>
</html>